<%--
The Community Project
Copyright Team1 Productions

Joshua Amick
Stephen Cunningham
Thema Davis
Tomika Dawson
Lucie DeCristifaro

This JSP is an implementation of the user interface for the Community Project.  Several
tag libraries and custom libraries are used.

All Rights reserved.
--%>

<%@ page %>
<%@ page contentType="text/html"%>
<%@ page pageEncoding="UTF-8"%>

<%-- jstl taglibs --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%-- struts taglibs --%>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
<%-- custom taglib by Josh --%>
<%@ taglib prefix="custom" tagdir="/WEB-INF/tags/custom" %>

<c:set var="basePath">
	${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}
</c:set>
<c:set var="servletPath">
	${pageContext.request.servletPath}
</c:set>

<base href="${basePath}/" />

<%-- page content --%>
<custom:frame>
	<page:title title="View Profile"/>
		Username ${USER.username}</br></br>
		Personal Information</br>	
		First Name:&nbsp;${USER.profile.firstName}</br>
		Last Name:&nbsp;${USER.profile.lastName}</br>
		Address:&nbsp;${USER.profile.address1}</br>	
		Address 2:&nbsp;${USER.profile.address2}</br>
		City:&nbsp;${USER.profile.city}</br>			
		State:&nbsp;${USER.profile.state}</br>			
		Zipcode:&nbsp;${USER.profile.zip}</br>		
		Email:&nbsp;${USER.profile.secondaryEmail}</br>
		Phone:&nbsp;${USER.profile.phone}</br></br>
		         
		Professional Information</br>
		Education:&nbsp;</br>${USER.profile.education}</br>
		Major:&nbsp;${USER.profile.major}</br>	
		Graduation Date:&nbsp;${DATES.gradMonth}/${DATES.gradDay}/${DATES.gradYear}</br>
		Employer:&nbsp;${USER.profile.employer}</br>
		Employment Start Date:&nbsp;${DATES.empStartMonth}/${DATES.empStartDay}/${DATES.empStartYear}</br>
		Position:&nbsp;${USER.profile.positionDescription}</br>
		Professional Organizations:&nbsp;</br>${USER.profile.professionalOrganizations}</br>
		Student Organizations:&nbsp;</br>${USER.profile.studentOrganizations}</br>
</custom:frame>